Jump


Jump off surfaces. Gravity is added to player's velocity

Code to determine jump force

func calculate_jump_velocity(height: float = jumpHeight, time: float = _jumpTimeToPeak):
	return -sqrt(2 * gravityJump * height)